﻿using System.Web.Mvc;

namespace SnippetBox.Core.Data.Models {
    public class AuthorizeRoleAttribute : AuthorizeAttribute {
        public AuthorizeRoleAttribute(Role role) {
            Roles = role.ToString();
        }
    }
}